<body>
<div class="path fn-clear"><span class="fb">首页</span><a href="{url('diypage/lists')}">自定义单页</a></div>
<div class="m5">
<table class="table table-bordered table-striped" width="100%">
<thead><tr><th class="fn-tac w20">#</th><th class="fn-tac w100">链接标签</th><th class="fn-tal">页面名称</th><th class="fn-tac w60">站点ID</th><th class="w120 fn-tac">最后更新时间</th><th class="fn-tac w80">操作</th></tr></thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac">{$vo['id']}</td>
    <td class="fn-tac"><input class="input w80 h20 p0 fn-tac" type="text" value="{diypage:{$vo['id']}}" /></td>
    <td class="fn-tal"><a title="编辑" href="{url('diypage/listsedit',array(id=>$vo['id']))}">{$vo['title']}</a></td>
    <td class="fn-tac">{$vo['language']}</td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$vo['uptime'])}</td>
    <td class="fn-tac tip"><a title="预览" href="{url('default/index/page',array(uid=>$vo['id']))}" target="_blank">预览</a>/<a title="编辑" href="{url('diypage/listsedit',array(id=>$vo['id']))}">编辑</a></td>
</tr>
{/loop}
</tbody>
</table>
</div>
<div id="page" class="fn-r m5">{$page}</div>
</body>